package com.winning.bdu.dl.quartz.jobs;

import com.winning.bdu.dl.quartz.base.BaseJob;
import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;

/**
 * @Author: shipengfei
 * @Description:
 * @Date: 2019-06-03 17:27
 */
@Slf4j
public class TestJob extends BaseJob {
    /**
     * 测试定时任务demo
     *
     * @param context
     */
    @Override
    protected void doJob(JobExecutionContext context) {
        log.info("<<----- begin：TestJob ----->>");
        log.info("jobName:{};group:{}",
                context.getTrigger().getJobKey().getName(), context.getTrigger().getJobKey().getGroup());
        log.info("<<----- end：TestJob ----->>");
    }
}
